﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WeatheRx.Data;

namespace WeatheRx.Web.Models.Search
{
    public class ApplicantSearchResultViewModel
    {
        public int? ApplicantId { get; set; }

        public string LastName { get; set; }

        public string FirstName { get; set; }

        public string StreetNumber { get; set; }

        public string StreetOrientation { get; set; }

        public string StreetName { get; set; }

        public List<string> MatchedOn { get; set; }

        public Job Job { get; set; }

        public string JobNum
        {
            get
            {
                if (Job == null) return string.Empty;
                return Job.JobNum ?? string.Empty;
            }
        }

        public string JobStatus { get; set; }

        public string Phone { get; set; }

        public string Email { get; set; }

        public string Mobile { get; set; }
    }
}